package com.bingxue.edu.common.enums;


import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@Dict("学生状态")
public enum EnrollStatusEnum implements DictEnum<Integer> {

    NO_ENROLL(0, "未报名", "orange"),
    ON_STUDY(1, "在读", "green"),
    FINISHED(2, "结业", "blue");


    @JsonValue
    @EnumValue
    private final Integer value;
    private final String label;
    private final String color;
}
